¿Se puede cotizar a la Seguridad Social sin trabajar?

¿Se puede cotizar a la Seguridad Social sin trabajar?