Yes - you need a small gizmo called a USB OTG (On The Go) adapter…which is pretty cheap (under $10). Then you can plug a keyboard into a phone's USB port. You can also get small BlueTooth keyboards that connect wirelessly.