No, the phone itself needs a special hardware to accommodate eSIM's information, and it is an optional hardware that manufacturers can choose or choose not to included it in their phones.
For the Z Fold 2's case, Samsung has already baked that hardware inside the Fold 2 and launched it when...