You can copy tag json and change the valueSource property of each opc tag from "opc" to "memory", and all other opc config is kept intact, but the tag will become a memory tag. Then when you want to convert it back, just reverse. Of course, you want to make sure you're only converting back true opc tags and not converting actual memory tags to opc..
I have a script to do it on this forum somewhere if you want me to dig it up? (Of course, it's use at your own risk, however i've been using it for a while with no issues. You can also always backup your tags just in case, which I would do anyway)