In short, no.
From cppreference:
A defaulted comparison operator function is a non-template comparison operator function (i.e., <=>, ==, !=, <, >, <=, or >=) satisfying all following conditions:
- It is a non-static member or friend of some class C.
- It is defined as defaulted in C or in a context where C is complete.
- It has two parameters of type const C& or two parameters of type C, where the implicit object parameter (if any) is considered to be the first parameter.
You can't make the comparison operator a friend of a C structure to meet the 2nd criterion.