It's not illegal. But this industry is a mess. If you want to speculate in foreign exchange, you must choose the right platform, because there are too many black platforms that deceive people.
High leverage, making money depends on skill. Obviously, there is money to be made, and 1 year has doubled, which is not a problem for experts.