I'm sure it can be done. Owe Biddle plays a Callowhill which has a Tube Screamer circuit installed onboard. And though not as elaborate as you are looking for, Alien Audio happens to make an onboard preamp for their basses (and separately as the "Tidal Wave") which has an overdrive circuit: Preamp — AlienAudioAlienAudio