Fry the Garlic Quickly in the Pressure Cooker
Roasted garlic is a wonderful thing and is probably best baked in the oven. However, you can get the same level of flavor in a shorter time with a pressure cooker.
Kitchn offers:
While oven-baked garlic takes about an hour to cook, you can get the same delicious result in about 15 minutes from start to finish using a pressure cooker and then a few minutes on a broiler.
As they point out, this is technically steaming, not frying. However, you will get similar results and be able to use garlic in the same way. For more details, navigate to their full publication at the link below.