Buying EB or checking in right at t-24 doesn't guarantee consecutive boarding positions. The only way to board together is for the person with the lower position to board with the other person at their higher position.
Southwest tested allowing Companions to board with the CP holder some months ago, but it was never fully adopted as policy (as of this writing).