Object not outlined in Viewport despite Outline Selected enabled
I went around and around with this for a bit today and the solution for me was to click the button to the left of the 'Overlays' pulldown.  The tooltip reads "Display overlays like gizmos and outlines".  This did the trick.

Seems like a silly place to bury the toggle for that functionality, but what do I know.