Perhaps it's because I was less financially literate in the past, but I remember that as being the only way in the 2000s. There might have been laws passed to limit that practice and its abuses.
The smart solution, provided you have enough money, is to buy the phone elsewhere, and take a plan without a phone. It's always less expensive in the long term.