I plan to learn Spanish but the Castilian one instead of Latin American/Mexican Spanish. And if I'm in US specially California, is that viable?

I have a shallow reason for that and I don't care.

I plan to learn Spanish but the Castilian one instead of Latin American/Mexican Spanish. And if I'm in US specially California, is that viable?
Post Opinion