Sure, by all means.
One thing to watch out for with
iperf is that you can bottleneck at the CPU - by default, it uses random data to nullify the effect of any tricky compression or deduplication of data.
If you have enough nodes, then it should be no problem to just use the default; if you find that the CPU is pegging, then override the input to something a little less intensive:
Also, depending on latency, TCP's ACKing may slow you down. To flood the pipes, use UDP with
Whether you can actually generate 10 Gbps of data depends completely on the performance of your nodes and their network uplinks.