Can you use an APFS-formatted Mac with a pre-APFS Apple Time Capsule?
Yes, you can use a normal Time Capsule that is not APFS-formatted with APFS-formatted disks.


  APFS and Time Machine
  
  You don't need to change any Time Machine settings to back up
  APFS-formatted disks. Any Time Machine share points must be shared
  over SMB instead of AFP.


Source: Apple.com

This applies to Apple’s TimeCapsules as well. They are just network attached hard drives with Wi-Fi routers made by Apple.