> Did Nim ever get anything like this?
No and Nim is not full of nullable types to begin with (unlike PHP, Kotlin, ...) In Nim mostly `ref` introduces these problems and there is an RFC for addressing this problem with static analysis instead of patching over it via more syntactic sugar.