Yes, that's similar to how standard vaccines work, but with an artificial version of the virus to trigger immune response rather than a weaken virus. It is basic high school science to know that foreign genetic material triggers trigger the cells' response that is the bases of vaccines. It is also not gene therapy.