You are able to get inside of the Leviathan leg by using the wraith portal. Not sure this is a know bug but you should die when then Leviathan lifts his foot again.
@Zeelmaekers We were not using portal, he was knocked way earlier i was just fighting there and didnt pay attention, after i killed everyone and looted, i realized im stuck inside and started recording.