The structure you suggest is impossible in English. The past forms of auxiliary verbs are different. If I had been there, I would have bought you a sandwich.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.