Not sure about other states, but in CA, no. You are not allowed to use a "sportfish" for bait... and yes, a catfish is considered a sportfish.
Oh but hey, even if you could, catfish would have to be very low on the list of food choices for a bass. Just imagine those sharp spines in the bass' throat ! Yikes ! Not saying a bass won't eat one, just that it's not the "preferred food of choice" for a bass.
As Chris said, you are not supposed to use sportfish to catch sportfish.
However, we do use live bluegills and bream to catch bass.
If you use catfish for bait I suggest using the babies, not over one or two inches in length.
I also do not expect the bass to go nuts over your presentation and you will probably stand there for hours with your rod in your hand looking silly.
Of course catfish love live worms and minnows but so do bass.
May I suggest throwing bass baits that the catfish may ignore? Just remember a catfish will hit all of your bass baits so have a nice medium heavy or heavy rod with strong line and just set that hook and have some fun fighting whatever is on the end of your line.
Ignorance can be corrected. Stupid lasts a lifetime.