The flight manual states max angles of pitch and bank that may not be exceeded.
I’ve just looked through the Boeing FCOM and FCTM for the 777 and can’t find any limitations on pitch or bank, apart from when you’re in close proximity to V2 or minimum manoeuvre speed, which is sensible. Yes, bank angle protection comes in at around 35-40degs, but it’s not stated anywhere I can see as a
limitation...