You can do anything you want with words. You can end a sentence with noun, verb, pronoun, adverb, proposition, whatever made up word you want.
Unless you're locked into the King James English. Like that escape artist Houdini locked in chains then dumped into the water, left to die. But we aren't all Houdini's. Few are.
Languages evolve. text messages thrive on brevity. That's really language's purpose, to convey meaning in the briefest, concisest manner. Add in accuracy, but that is sacrificed due to brevity. (the ABC's, accent on B's)
Linguists seem to believe language has devolved, unlike biology where Darwinists seem to believe we evolve. It's downhill for language. Maybe there once was a single language, as evolutionists trace us back to an "African Eve" and Judeo-Christians to a pre- Tower of Babel.
Dictionaries add new words yearly. Grammar evolves too.
Real question is whether the sentence or string of words or letters conveys the meaning in a briefer, conciser, accurate manner? Or do you want to waste everyone's time & effort listening to verbiage that is more like garbage, just to satisfy King James or the reigning monarch of the English language? If it's awkward or weird, strange or overly pedantic to avoid a preposition ending in a particular communication, maybe the monarch is too tyrannical.
The Spanish followed their Spanish King's Spanish and mimicked his lisp in pronouncing d as t. Do you really want to be that slavish a peasant?
In a very metaphorical idea (not to be taken literally) we should revolt, as the English teachers are revolting. Rise up. You have nothing to lose but your chains to archaic grammar rules. Hang the "teachers' in effigy, like the students do after their football coach blows another game too many. Freedom is liberating. Worst obedient slaves to grammar are court filings. Or employment resumes. A major reason for legal injustice and inefficient economies and unemployment.
but if you want to pass a course, do as the instructor wants. they run the show. go with whatever ridiculous things they want.