Something like this maybe? I've used a two-part system like this before to insulate/vapour barrier between the joists where they meet the foundation wall and it worked decently for that.
If you're doing the whole ceiling though I'd go for batts of some kind or hire a spray foam company.