Yes, if you buy a regional or global plan. One eSIM then covers every country in that bundle, and you do not change anything when you cross a border.
Every bundle page lists the countries inside it. Read the list rather than trusting the name: what counts as "Europe" differs between bundles, and finding that out after buying is an expensive surprise.
A single-country plan works only in that country. Outside it, there is no service.