I hooked up my trusty old Logitech speakers to see if they still worked. They did, so I booted a game and sheepishly turned the volume way down in fear of annoying my neighbors, immediately remembering why I had these stuffed in a closet for almost 10 years.
Even if I lived in a soundproof house in the middle of nowhere I'd still be self-conscious enough to just use headphones instead
Talk to your neighbors and say you wanna see how loud is too loud at a good time for them. They can go to their place you can crank it, they can report back, you can adjust. Most people want to as accommodating as possible in an apartment but have a tendency to only interact after there's an issue. Just be proactive. I like listening to really not accessible using super loud and I just let people know it's a thing I like to do when I move in and let people know they can just come ask me to turn shit down whenever and I'd appreciate the same favor in return, please come knock if you need anything, if they seem cool visit each other. But yeah, just talk to people beforehand and nip it in the bud. I like room sound and headphones make me paranoid