Yes, you can often use the same charger for both your phone and tablet, provided the charger is compatible with both devices. It should have the correct connector type (such as USB-C or micro-USB) and support the power requirements for both devices.
However, be aware that charging speeds may vary depending on the charger's output capacity and the device's charging specifications. For optimal charging, use a charger that meets or exceeds the device's required amperage and wattage.