A
hobby is an activity that you enjoy doing in your spare time.
Synonyms: pastime, relaxation, leisure pursuit, sideline
Source:
https://www.collinsdictionary.com/dictionary/english/hobbyBased on that definition I think gambling can be considered as a hobby though money is involved but as long as you are having fun and responsible on it it is all good.