Yeah, they do that. Most of them will climb on ledges so small you think how the heck can they do that.
In case you have not taken measures yet + I don't know how your cage is, make sure to secure the lid strongly, otherwise snake will push it sometime and might get free.