Running a Tor Bridge and a YaCy Installation on the same Raspberry Pi 4

What do you think? Would it be a good idea to run additionally to a Tor Bridge a YaCy peer on the same Raspberry Pi 4?