Yeh drain most of the oil into a clean container, replace the filter, then reuse the oil back into the engine.

If you cannot get the oil filter off, you can jam a long screwdriver into it and twist it off. Those filter wrench remover things can be a biatch to use if there is little clearance around the filter.