It depends upon the rim widths and frame/component clearance.
It's a bad idea to use a tire that is skinnier than your rim.
Normally there are no wheel/tire issues with running wider tires, however you might find that a wider tire rubs against the frame or fender, etc.
Tires need to be drastically wider than rims before improper bead-seating issues arise.