Is it okay to set it up in my home country before traveling?
You can set it up, but depending on the plan you use, the service may start when you scan it in your home country.
For the service start timing, please select the country of use > select "Plan Details" from the displayed SIM list > check the eSIM expiration date and activation deadline section.