Every sentence is formally correct.
The word бы tends to the second place in the clause (according to Wackernagel law). So the most natural variant is Если бы я был писателем, я бы написал много...