No, this is not possible. According to the documentation,
The ‘hint’ directives platform, deprecated, and library may be
appended to any declaration. These directives will produce warnings at
compile time. Hint directives can be applied to type declarations,
variable declarations, class, interface, and structure declarations,
field declarations within classes or records, procedure, function, and
method declarations, and unit declarations.