Yes, it is possible you need to define all appropriate variables alongside with calling the function of itself.