Hello,
As such there is no standard solution for it in ECC.
Please refer SAP help document on it.
Kit to Stock - Goods Receipt - SAP Library
Work around would be purchase it as a Kit and once you receive it in stock then do disassemble Production Order to break it on component level.
Best Regards,
R.Brahmankar