Maybe,
" Were " here is used in subjuctive. We use " were " because the action which is possible rather than real.
" As if " conjunction indicates that the action is not real.
Another problem is I thought " provided " is a conjunction.
I guess you could delete the word " provided " since as if is good enough.