It isn't strictly a dropin but it is usually a great upgrade. If you have the power then video encoding is faster and higher quality on the RPi5. If you are battery constrained then it can certainly be worse.