By default, no. Photos uploaded directly to Drive do not appear in the "Photos" view of the Google Photos app. They remain in the "Drive" section or separate folders.
If you have previously shared photos and want to make them private again: Google Drive : Right-click a file/folder > > remove any users or change the General access to Restricted Google Photos : Go to the Site Drive.google.com Fotos Privadas