Sure, but there are also practice amps that accept headphones and even "headphone amps" like the thing I was mandated to buy by my parents when I insisted on getting an electric guitar in high school.
Plugged right into the guitar and let you connect headphones for non-obnoxious practice. Even had some overdrive built in (although it sounded like crap). Of course then I just plugged the headphone-out into the aux-in on my boom box and had something approaching an amp. Plus it had a mic-input so I could record one part to tape via the phone-out, then use a walkman or other tape player to play into the mic-in while playing the second part over top and recording out to my amp/boombox.
Plugged right into the guitar and let you connect headphones for non-obnoxious practice. Even had some overdrive built in (although it sounded like crap). Of course then I just plugged the headphone-out into the aux-in on my boom box and had something approaching an amp. Plus it had a mic-input so I could record one part to tape via the phone-out, then use a walkman or other tape player to play into the mic-in while playing the second part over top and recording out to my amp/boombox.
Fun times with crappy guitar playing :)
(this was the headphone amp in question) https://i.sli.mg/yVbr0J.jpg