Yes, you can usually talk after a filling.
The numbness from the local anesthetic will wear off within a few hours, and you should be able to talk normally.
However, you might experience some slight discomfort or sensitivity in the area of the filling for a few days.
If you experience any severe pain or discomfort, contact your dentist.