Syncthing (via Möbius Sync) works quite (surispsibgly!) well on iOS, but there are still many paper cuts. I‘d have hoped the DMA would have forced platforms to be decoupled from services.
Legally, Apple must not provide its own services with an advantage over the competition. I think the background sync restrictions are a DMA violation legally speaking.
Give the EU some time, I'm sure there'll be a lawsuit about iOS doing this stuff some day.