Yes, this is possible.
The compile order is controlled by a numeric suffix to the KConfig file:
n is an integer where 1 is highest priority.
<type> is one of the valid types (eg, "apps","libs","modules").
The overall compile order is as follows: