Should be, the Wiki doesn't say the commands are SKSE ones (that I can see), so it should be as easy as :
1) Make a Magic Effect
2) Script it as such :
[Script]
Actor Property WhoeverYouWant Auto
Event OnPlayerLoadGame()
WhoeverYouWant.GetActorBase().SetProtected(True)
EndEvent
3) Make an Ability with that Magic Effect
4) Make an Alias, point it at the PC, and attach that effect.
The one thing is, OPLG only fires on a load, so you'd need either a 'first time' script, or to make at least one load. What I'd personally do is make a Quest Script, make the 'set protected' part a Function, and have OPLG and OnInit() run that Function.
Edit: Untested, UnMastered Mod - https://www.dropbox.com/s/mhrr8djiqvb414m/Scripted%20Protection.rar?dl=0
Should do what you want, just follow the instructions on the Quest Script. Any issues, let me know