calling a function in void setup

If I want a function to run once, can I put it in void setup? will this work?
There is alot more to my sketch, just adding the relevant parts
Thanks Brian

void setup()
{ 
  pinMode(OR, INPUT);                                         //OVER RIDE DIGITAL INPUT
  pinMode(FSSR, OUTPUT);                                     //FAN SSR OUTPUT
  pinMode(DSSR, OUTPUT);                                     //DAMPER CONTROL SSR OUTPUT 
  pinMode(WT, INPUT);                                          //TEMP INPUT
  overRide();
  }

void loop()
{
...........
}
  void overRide()
  {
    unsigned long T = millis();
    WATER_T = analogRead(WT);
    while (WATER_T <= 124)
    {
      digitalWrite(DSSR, HIGH);
      digitalWrite(FSSR, HIGH);
    }
    if ((millis() - T > WARM_UP) && (watertemp <= 125))
    {
      shutdown();
    }
    else
    {
    loop();
    }
  }

If I want a function to run once, can I put it in void setup? will this work?

Yes. The source code for main is available in the hardware/cores directory. You can pretty much do whatever you'd like in setup.

int main(void)
{
      init();

      setup();
    
      for (;;)
            loop();
        
      return 0;
}