There’s no rule against that
One of the most rewarding feelings is working on projects with friends. My most memorable experience at Uniswap was building a photobooth - a 16 hour project that included accidentally shattering a windshield, designing an iPad holster with wood, and coding in a U-Haul across the Williamsburg Bridge