Search bar with custom buttons - Ionic6

The search bar supports basic buttons like cancel as per the docs. Search Bar Icon for Keyboard Text Display | Ion-Search Bar
However, is there a way to add a custom button into the search bar? Like GoogleMaps does it for instance where they squeeze the user icon into the search bar.

by using css you can force the button on top.

position: fixed;
top: 10px
right: 10px

something like this.

Thanks! I am not really a css person, how would this work?