The main issue you’ll face is commitment. Having more than one team you must work with obviously you can’t commit 100% of time and effort to either team. This radically increases your Work In Progress and requires constant task switching which can cause difficulties in thought processing.
A developer or engineer who is particularly knowledgeable about a specific domain or has a high-level skill set might find it more doable to be on multiple teams. However, it also requires someone experienced with Scrum and its processes.
In reality, the team cannot fully depend on you, and you equally can’t devote all energy back to the team. Predictability will also be a factor; what if the other team quickly needs help? Your other team will be left without you.