Yes that's fine. However since the separable verb omfietsen (making a detour when you are biking) also exists, having a comma (in writing) or a pause (in speech) before om or putting emphasis on om will change the meaning to detour.
I guess this link should answer your general question. If you have any additional questions, just ask. :)