Yes, you can use a guitar compressor for bass. However, it is important to note that guitar compressors are generally set up for the frequency range of a guitar, not a bass. This means that a guitar compressor might not be as effective in capturing the low-end frequencies of a bass guitar. There are some compressors that are specifically designed for bass, and these might be more appropriate if you’re looking for optimal control over your bass tone. That being said, many bass players have used guitar compressors to great effect, so it can definitely be done. It all depends on the specific sound you’re trying to achieve.