Yes, it is possible to hide or change the username of the last user logged on a windows computer, if you landed here searching for the same this is the right place where we will tell you all the ways to hide or change the username logged as the last user logged into registry.
In order to stop windows from showing up the username of the last user logged in successfully you would need to apply a minor registry hack which would prevent windows from displaying the last username logged in windows.