The cost to get started is rather low. I bought an Ender 3 v2 for $200, and PLA filament is fairly cheap. These entry-level machines are very basic though, very much a "minimum viable product." If you enjoy using it, you will likely end up replacing a lot of the components to make the thing more reliable as time goes on. In my case, I have completely overhauled my machine. Completely replacing the toolhead (hot end, extruder, cooling fans), build surface, springs, leveling knobs, wheels, and controller firmware, as well as installing a Z-probe. A lot of components were printed on the machine itself, but a lot needed to be ordered (there is a pretty healthy after-market, especially if you buy a popular model).
If you enjoy tinkering with mechanical systems, it is a good hobby. If you enjoy mechanical engineering or 3D modeling, it is a good hobby. I am a CNC machinist by day and am used to producing G-Code, either by hand or via CAD/CAM software depending on the job, so a lot of it came naturally to me. Having a 3D printer improved my CAD skills and engineering competency a great amount. I must reiterate though, what you get out of the box will be very basic unless you buy something fancy. These things are essentially starter-kits. Also, I bought my machine several years ago, so there are probably better options at the entry level.