I said as others have said: It depends on the apartment building. The typical suburban stick-built apartments may have a firewall between units and may not. But even those are often just 5/8" instead of 1/2" drywall. Transmitting a regular thump into the neighbor's apartment is unacceptable, but not all buildings will do that.
And it depends on the neighbors in question, and the agreements that can be worked out with them.
But we have to acknowledge that some hobbies are noisy and incompatible with living spaces that don't isolate sounds well from neighbors. The flip side of that acknowledgement is that we can't expect our neighbors to sustain absolute silence. Some neighbors demand the unreasonable.
I am a tuba player. I have received noise complaints from neighbors in single-family-home suburbs. When I first moved to Virginia, I bought a house that sits on a 1/3rd-acre lot, and is 75 feet from the nearest house in any direction. The neighbor across the street--who moved in after I did--had a baby and the baby's room was along the front wall of the house. They kept the windows to the baby's room open at night when temperatures were sufficiently moderate. I played the tuba at 9:30 PM and got a complaint, so I moved downstairs to the basement. Then, a few weeks later, I got a complaint from the same neighbor at 8:30 PM. I told him to get used to it--I'd done everything that was reasonable but I simply was not going to give up on my committed avocation because they wished their baby to live in a silent outdoors. I suggested they look for a rural location. The husband who brought the complaint was already embarrassed because he knew the complaint was unreasonable and didn't pursue it. I gave him a hard enough answer to report to his wife that there was nothing more to be done in that direction, and he was happy with that. She was not. But the HOA told her that if it was reasonable for school-age beginners to obey instructors from their teachers to practice their instruments at reasonable hours, it was also reasonable for a slightly more competent amateur adult to do the same.
(The following year, I found a rural location and moved. Now, I can practice at 3AM and have only one other person to protect. She can sleep through anything. But I don't play the stereo loud when she's home. My current home is on a 6-acre lot, hundreds of feet and through the woods from any neighbor, but I can still make my music heard by them. Such is the nature of the NC502MP amp and capable speakers, even without subs.)
Rick "forgives the neighbor in Dallas who complained about the Bach on the tuba after midnight long ago--she was probably a music lover" Denney