Hello
You can try to explore the "shared safety stock" functionality.
See the information on the following KBA:
https://service.sap.com/sap/support/notes/1704074
This KBA provides the following information:
Whenever the shortage exceeds the share of safety stock which is available for planning, a new order proposal will be created by MRP.
This new order proposal will cover the requirement and it will also replenish the safety stock.
BR
CAetano