Vacation vs Sprint-Planing, using ressources

Hi! I am thinking how to make a solution which helps to plan sprints or other long-term product-development, but having an eye on vacations?

For example, if I plan a product-epic and may have a lot of storypoints; I can guess when it might be finished. But it is complex if people have vacations during this time. So I wonder if I can somehow simulate a timerange, holding epics or tasks assigned to a team and see where an endpoint may be. Such simulations do work e.g. with MS-Project or Planner by addressing ressources.

For now I am just interested in your ideas around that and which way you would recommend.

best regards