I did back in 2003 with a GM product. Back then it was 3 attempts to fix the same problem or 30 days in the shop in a year, mine sat 34 days in the first year. I believe i contacted the BBB and they helped get the party started. Was actually a fairly easy process, they have a formula for the refund was price paid minus a fixed rate for the miles.
GM offered me a 100k warranty or buy back. I took my money and went to Ford, after owning a couple Ford’s now I buy Toyota.