Yes. but you have to do the following:
- turn off power to that bathroom
- VERIFY power is off to the bathroom
-remove the wires that land on the "load" side of the GFCI- these are the wires that go out to your outside outlets
- wirenut those to the supply wires that also feed the "line" side.
- install weather resistant GFCI at the outside location with an in use cover.
It's very important to test monthly per manufacture's instructions. Not only for your safety and peace of mind, but if not done, also it violates the warranty....not that we ALL havent violated those before......