Yes, Apple charges a premium over custom building a PC with equivalent parts. Not anything new or shocking there.
Also I’m paying full retail not OEM prices for these parts.
This is competing against products like HP Envy 32, Microsoft Surface Studio 2, etc which are priced similarly. You pay a premium for the design and form factor.
I have repaired a few and own one (2015) I think the design is absolutely dire.