Yes. Ohm's law is generally thought of as a basic law of electricity, but electricity is, in the language of physics, a part of the electromagnetic force. The electromagnetic force is one of the four basic forces in the universe (allong with gravity, the strong force (called the strong interaction) and the weak force (called the weak interaction). That's the
electromagnetic force. Not the electric force or the magnetic force, but the
electromagnetic force. And Ohm's law is a most fundamental expression of the relationship of voltage, resistance and current in an electrical circuit. In that light, Ohm's law is a general law of the electromagnetic force.
Note: Some science teachers might try to split hairs here and say that Ohm's law is an electrical law and not an electromagnetic law, but this is one of those questions that might be said to have two answers. As regards what was said in the first paragraph, nothing in it is incorrect. Nothing at all.