 Is there a professor who you’ve taken more than once and did well in their class? Just shoot them an email and remind them of who you are, most would be happy to write you a letter. And that letter would likely be indistinguishable from LORs from professors with close relationships with the applicant.  Even if you only took them once, if you did well in their class they will likely write you a LOR.