Today, those in online earnings usually get a profit even if you are at home, and those included in online businesses are trading online, such as crypto and forex, even in other traditional businesses that can also be used online, even direct selling, MLM, etc.
Yes, that's right, when we can make money online, this gives us the freedom to work from home and of course we can manage our own time compared to if we worked offline, and this is a big advantage for our time.
Even though working online has its drawbacks, such as not having a fixed income, because if we work offline, of course we are guaranteed to get a weekly, fortnightly or even monthly salary. But working online our income is not fixed, in fact sometimes if we only trade we can experience losses. But working online sometimes we can generate income that we don't get from offline work. Maybe this is the attraction why many people want to work online rather than offline as you said.