Be careful when agreeing to goals. If you're not sure, agree to a smaller goal and re-evaluate the bigger goal when you complete the smaller one.
One common example is a sales team and a production team who work together, but the sales team sell results without discussion. You can refuse responsibility for something you think is impossible. Make it clear that you don't think you will be able to deliver in the timeframe stated.
Eventually, you will be given a project that you cannot deliver. Some oversight or other will cause an issue, and you will want to clarify from the start what is and is not feasible.
If you can think of a temporary solution to get more time for the final product, or an easier way to achieve the goal, suggest it, but refuse responsibility for any impossible goal. You will need to stand strong, your manager will likely try and force you to accept responsibility either actively or passively. Check the wording of emails, always make clear that you will do your best, but never claim that you will succeed.
When it all falls apart, you need to be able to prove your position. Keep emails, and if permitted in your location, record calls. (If it's not permitted, insist on using recorded chats and emails, then back up those logs.)