There's no instant windfall, but the reliable path is to pick a gathering skill and sell what you produce. Mining ore, chopping logs, and fishing are the classic three, and all of them turn time into steady profit.
Getting to a million or ten million gold is mostly a matter of consistency — bank your resources, watch the Grand Exchange prices, and sell when demand is high rather than dumping everything at once.