I'd need some context. In which situation would it happen?
If you let it to our imagination, I'd like to think it would be a situation in which the only way to survive, or escaping from somewhere dangerous, would be letting a friend of mine (somehow giantess size) swallow me. If that is the only way to survive, I'd do it.