I seriously doubt a second shot any place outside EU will recognised once you return to your EU member state, apply for vaccine passport and allege to have been vaccinated twice. You would need to look carefully into this; if it was me I wouldn't risk missing a vaccine passport due to being unable to get a second shot in your home country.