There's a company called Real Traps whose main business is bass traps and acoustics. This is from their web site:
Note that RealTraps products are intended to improve the sound inside a room. They are not designed to prevent sound from traveling to other rooms, or reduce outside sounds from getting in. For that we recommend Green Glue and other products sold by The SoundProofing Company. More than just listing products, the Library section of their web site contains a wealth of information about sound isolation.
Bass traps only absorb a small amount of the bass frequencies, sometimes in a very narrow range. Their main purpose is to prevent those frequencies being reflected back into the room and canceling out or reinforcing the sound heading away from the speakers. The acoustic power reduction that does occur in a bass trap is very small, and not enough to turn a noise violation into a tolerable murmur.
There are other question on this Stack about sound control and living with neighbors. As a musician who practices daily and as a person who has studied acoustics and sound engineering for over 20 years and as a person who has tried many strategies to practice without annoying neighbors, my advice is to set up a quiet rig for home and try to find a secondary space, like a rehearsal space or storage unit, where you can play at whatever volume you desire. Trying to build a loud room in your residence will soak up huge amounts of time and money that would be better spent improving your skills and musical tools.