You can in JS/TS and Python. Technically you could even do it in a language with a fairly strong type system like C# or Java by casting to object or dynamic, though the code using the cast object after that will probably be very unidiomatic.
[0]: https://www.typescriptlang.org/docs/handbook/type-compatibil...