Nothing's impossible...
but that might take some creative measures. In my experience, with the stock cranks and bb, 34 teeth up front run very near the chainstay, and 36 was very close when the ring was mounted on the outside (and impossible on the inside).
Of course maybe someone else has tried a longer bb, shimming the chainring out, wiggling the eccentric toward the drive side, etc., and hopefully they can weigh in with a solution for you.
What kind of ratio are you hoping for, using such large rings? Will this be used on trails?
Good luck!