Technically it is not possible, because the machine actually reboots when you create an AMI. The only thing you could do is copy the disk to another disk which is also very difficult to do.
AWS EC2 powers down the instance, take images, creates and registers the AMI and then reboots the instance. So there would definitely be some downtime.
Keep Learning :)