If's & else if's without void loop

Probably not. The loop() is designed to perform all processing after everything is initialized and configured in the setup(). If you literally only want to perform something one time then you can put it at the end of setup() and have an empty loop(). But that is uncommon.