Although Windows 11 shows icons in an Overflow menu on the Taskbar, it is possible to stack or unstack icons on the Taskbar using this tutorial. You can do that with the help of the Registry Editor.
Depending on your configuration for your screen resolution and DPI scaling level, the taskbar thumbnail threshold limit will vary. The following values are the default taskbar thumbnail threshold ...