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.
I've been thinking about this actually for quite a while, on a small-time scale. Consider the following scenario:
1. You have a fair amount of money in a Roth IRA, and roughly the same amount of money in a taxable account.
2. The limit on contributions per year is like $6K, and even if you put money in a 401K and then convert whenever possible, that's limited to $19K/yr I think. How can you work around this?
3. Let's assume you're approved for options in your taxable account; and my understanding is that you can buy options in a Roth account - you just can't write them.
4. So, what if you create a synthetic long position by purchasing calls on a broad market fund in the Roth, and selling cash-secured puts on the same fund in the taxable account. And maybe buy some short term corporate debt fund in the Roth to make up for the missing dividends. Not sure if you could also earn some interest on the taxable side. If the stock market goes up in the long run, then you have most of your gains tax-free in the Roth, and minimize your taxable gains. If the stock market goes down for a while, you have most of your losses in the taxable account, and minimal losses in the Roth.
5. I think there are some practical problems, but Matt Levine could probably write about them much more engagingly than me, particularly after someone tries this and gets in trouble for it.