Hi @meenakship87722 ,
Unfortunately, I believe there is no OOTB functionality to achieve this. However, If you want to restrict allowed components then you have to implement custom solution.
The Allowed Component list is generated from
/libs/cq/gui/components/authoring/allowedcomponents
you can overlay allowedcomponents
/apps/commons/components/authoring/allowedcomponents
based on /libs/cq/gui/components/authoring/allowedcomponents.
Hope that helps!
Regards,
Santosh