Worse, the aspect of options and "substantially similar" securities starts to get arcane fast. Meaning, you really want a tax lawyer involved on a complex transaction like that. Otherwise, you may find that you've apparently made a ton of money, and then a few years later the IRS knocks on your door and asks for all your profits in a nice check paid to US Treasury.
(I'm not saying you can or cannot do this, only that the tax law gets complicated fast.)
[0] - (page 56) - https://www.irs.gov/pub/irs-pdf/p550.pdf
[1] - https://www.irs.gov/pub/irs-drop/rr-08-05.pdf
=======
EDIT - meant to add that "sale or other disposition" includes the expiration of an option. So you don't actually have to sell to incur the wash sale situation.
Making a sham trade at an arbitrary price with yourself is not what I was describing. My idea was the calls and the puts are as close to at the money as possible, and the counterparties are just random people with no pre-arrangement.
If you're going to simply do fraud, then the constraints don't seem interesting to me.