Is it possible to design & build a flash cart that would allow you to program it using GB code ?
Yes. Check Reiner Ziegler's web page on the GB Dev web ring for plans.