Thanks both CWatkinsNash and Blossom for answering my question. I was just kind of curious as to whether or not it had been done already* rather than looking for recs, but hopefully it'll help anyone who's interesting in reading more.
* Now watch me ask if there's any screwball romantic comedy involving two sets of twins — one of each the "good" law-abiding and probably law-enforcing twin, the other the "bad" thief/gang member twin who turns probably out to be a secret undercover agent with a heart of gold and a larynx of snark — who get mistaken for each other with hilarious results after at least one member from each set of twins falls in love with one of the twins from the other set, most likely of the "opposite" sex† and temperament.
Bonus points if at some point they both have to do the twin-switch and pretend to be each other
to each other.
† Doubleplus bonus points if there are bisexuals among them. Just because the possibilities for entertaining misunderstanding kind of get raised to the power of 2.