Is there a way to customize taskbar icons to have this Windows 11 taskbar effect when opened?

I really like the new taskbar line/dots (whatever they are called) in Win 11 when an app is opened. Like this: enter image description here
Is there a way to customize and get this effect in Win 10?