Welcome.
I’m not sure that it is so simple. On some phones, the option might not be available; or on some phones, if toggled, it wouldn’t work; or you might need to root first; or you might need this or that version of the OS.
Even if successful, it might be unworthwhile: when I did it years ago, the phone ran slow, and the icons of apps stored on the SD card would sometimes disappear.
Have you had success with it yourself?