Can you do this?

This might sound really stupid but can you be a psych major then go into law school after graduating? What advantages or disadvantages are there if I did that?