Yes, you are able to move in between your attacks. From the basic rules (emphasis added): If you take an action that includes more than one weapon attack, you can break up your movement even further by moving between those attacks.
Can you attack in an Allies space?
No. Per Jeremy Crawford: “The intent is that you can’t willingly end your move—any part of it—in another creature’s space (PH, 191).” A player could also ready an action to attack when an enemy is adjacent, and then perform their move.
Can you move through enemy spaces?
You can only move through an enemy’s space if it’s at least 2 sizes larger than you. In either case, another creature’s space is difficult terrain, and you can’t willingly end any part of your movement in another creature’s space. Halflings can move through a creature that’s only one size larger than them.
Can a nonhostile move through another creature’s space?
Moving Around Other Creatures. You can move through a nonhostile creature’s space. In contrast, you can move through a hostile creature’s space only if the creature is at least two sizes larger or smaller than you. Remember that another creature’s space is difficult terrain for you.
What happens if you leave a hostile creature’s space?
Whether a creature is a friend or an enemy, you can’t willingly end your move in its space. If you leave a hostile creature’s reach during your move, you provoke an opportunity attack, as explained later in the chapter.
What happens when a flying creature is knocked prone?
If a flying creature is knocked prone, has its speed reduced to 0, or is otherwise deprived of the ability to move, the creature falls, unless it has the ability to hover or it is being held aloft by magic, such as by the fly spell. Each creature takes up a different amount of space.
How does the Extra Attack feature work in combat?
If you take an action that includes more than one weapon attack, you can break up your movement even further by moving between those attacks. For example, a fighter who can make two attacks with the Extra Attack feature and who has a speed of 25 feet could move 10 feet, make an attack, move 15 feet, and then attack again.