Can it? Sure, it's a function just like any other. I did it here How to Draw Cnadle chart in indicator_separate_window ? (XDXD) - MQL4 forum
Should it? Probably not for style. I'd create an second function and have init do only what init should, and have it all the second one.