Yes, other players from your Championship group can attack you and try to steal your medal even if you are online. The game constantly checks the state of your machine, even when you are editing it. This means that if you edit your car for too long, other players can catch you in the state when your car isn't finished. This may result in you losing the medal. If that happens, simply finish editing your car and fight with the opponent again.