You can only import sleep data to Pokémon Sleep after linking Health Connect to a data source app (such as Samsung Health or Fitbit) and then linking Pokémon Sleep to Health Connect.
Any sleep data recorded prior to linking Health Connect to Pokémon Sleep cannot be imported into Pokémon Sleep.
It may be necessary to prioritize each data source app at the top of Health Connect’s permission priorities.