No. You previously had to fill the entire H1B petition and pay full fees (including lawyer fees to prepare the petition) just to enter the H1B lottery. Your fees get refunded if you do not get selected in the lottery. You're still out lawyer fees though.
The $10 fee to enter your name and later fill the entire petition is a fairly recent change
https://www.federalregister.gov/documents/2019/11/08/2019-24...