It depends on the model and settings. Some Android phones vibrate briefly when plugged in (configurable in Settings > Sound & vibration > Charging vibration). iPhones do not vibrate by default when charging (only when a charger is connected if "Vibrate on Silent" is on and the phone is on silent mode). Check your device's sound/notification settings to enable or disable this behavior.