It is a wonderful idea to learn to speak Spanish, because it is a wonderful language. You can learn Spanish as a hobby, for business purposes (for people who want to carry out business in Spanish-speaking regions) or just for pleasure (when you visit Spanish Speaking places).
Your reasons for learning Spanish do not matter, what does, is that you must keep at it, otherwise you will not progress much. You must have the will power to keep on learning Spanish, then you will succeed even studying at home.
The best way to keep you going, is to have some type of program or time schedule to which you work. This also forces you to keep on studying even when you don’t feel like it that particular day.