Yes, two Xbox Live accounts cost significantly more than one—unless you use Game Pass Ultimate sharing.
Bottom Line: On a single console, you can effectively support two players for the price of one Game Pass Ultimate subscription via Home Xbox sharing. Without sharing, you pay double.