Oh course you can fail. I did.
In my case, I ballsed up my nav on the way back, spotted another airfield, did a non-radio join and landing, and phoned my instructor. He was very sympathetic, but very politely explained that he thought I should do another dual X-country before trying again.
Did my flying a lot of good in the long run, but rather embarrasing at the time.
G