Doubt req creating 2 top_blocks

hi.
I am working with benchmark_tx and rx programs and I have been
changing them a lot for a project I am working with now.
I just want to make a node run as a receiver and then as a
transmitter. I think it involves creating two top_blocks. Is it
possible to create such two blocks and run one and stop it; and then
run the other one.?