The relays are controlled via serial commands, so I don’t see how this would work.
My advice would be to use a Wemos D1 Mini (or D1 Mini Pro if you need an external antenna) and a Wemos relay module. These can stack on top of each other, or be mounted on a double base.
This would give you all the pins you need.
The Wemos D1 Mini/Pro and accessories are discussed in depth towards the end of this topic: