This cannot be done
If you review the section of using Hit Dice, you will not find any text that shows that roll conferring Temporary Hit Points(THP) on a creature. That would need to be included for those die rolls to do that.
Some Spells and special abilities confer Temporary Hit Points to a creature.
- Player's Handbook (Chapter 9: Combat).
The spending of hit dice during a short rest is described as follows:
A character can spend one or more Hit Dice at the end of a short rest, up to the character's maximum number of Hit Dice, which is equal to the character's level. For each Hit Die spent in this way, the player rolls the die and adds the character's Constitution modifier to it. The character regains hit points equal to the total (minimum of 0). The player can decide to spend an additional Hit Die after each roll. A character regains some spent Hit Dice upon finishing a long rest, as explained below.
You simply regain hit points, there is no mention of this granting temporary hit points, so they do not grant any. In fact, temporary hit points are entirely separate from your regular hit points:
Temporary hit points aren't actual hit points; they are a buffer against damage, a pool of hit points that protect you from injury.
[...] Because temporary hit points are separate from your actual hit points, they can exceed your hit point maximum. A character can, therefore, be at full hit points and receive temporary hit points.
Healing can't restore temporary hit points [...]
Since hit dice only restore hit points, they cannot grant temporary hit points and they can't exceed your maximum hit points because the section on "Hit Points" states:
[...] A creature's current hit points (usually just called hit points) can be any number from the creature's hit point maximum down to 0 [...]
Features which increase maximum hit points (such as the aid spell) say so, and features which grant temporary hit points (such as the heroism spell) say so. The section on short rests and spending hit dice do not mention either thing happening which means that they don't.