Naming and grouping individual pins with the ATXMEGA
To achieve something close to what you wish, you could define some macros. Here are separate macros for setting and clearing PA0 (assuming PA0 := port A, pin 0), and a macro that takes an argument to decide wether to clear or set the pin.

#define SET_PA0 PORTA.OUTSET = PIN0_bm
#define CLR_PA0 PORTA.OUTCLR = PIN0_bm
#define OUT_PA0(x) (x ? SET_PA0 : CLR_PA0)

int main()
{
  SET_PA0; // PA0 is set
  CLR_PA0; // PA0 is cleared

  OUT_PA0(1); // PA0 is set
  OUT_PA0(0); // PA0 is cleared

  return 0;
}


To use these, you would have to define such macros for all pins you are using. If you want to go an extra mile, you could use more generic macros like:

#define SET_PIN(port, pin) port.OUTSET = pin
#define CLR_PIN(port, pin) port.OUTCLR = pin

int main()
{
  SET_PIN(PORTA, PIN0_bm); // PA0 is set
  CLR_PIN(PORTA, PIN0_bm); // PA0 is cleared

  return 0;
}


But at this point, it would be far better practice to use a function. But you would have to search your headers for the port and pin types. I am not used to atxmega chips as well, but my guess is that they are enums. It would be something looking close to this:

void outPin(port_t port, pin_t pin, int outValue)
{
  if (outValue)
    port.OUTSET = pin;
  else
    port.OUTCLR = pin;
}

int main()
{
  outPin(PORTA, PIN0_bm, 1); // PA0 is set
  outPin(PORTA, PIN0_bm, 0); // PA0 is cleared

  return 0;
}


With these three options, your motor enabling would look like this (choose which best fits your style):

void motorEnable1()
{
  SET_PE5;
  SET_PH0;
  SET_PJ3;
  SET_PK6;
}

void motorEnable2()
{
  SET_PIN(PORTE, PIN5_bm);
  SET_PIN(PORTH, PIN0_bm);
  SET_PIN(PORTJ, PIN3_bm);
  SET_PIN(PORTK, PIN6_bm);
}

void motorEnable3()
{
  outPin(PORTE, PIN5_bm, 1);
  outPin(PORTH, PIN0_bm, 1);
  outPin(PORTJ, PIN3_bm, 1);
  outPin(PORTK, PIN6_bm, 1);
}


You can also write a struct to hold your motor pins information, and use that as argument to a motorEnable function for cleaner code when using more than one motor.