Although this is perfectly legal, it may be prudent to find another way. You indicate the question when you said:
I assume that I will need to create it before using the record
Not only that, but you need to find the right time to destroy it. If you forget to do this, there will be no errors, but your program will leak memory.
, . , /, Delphi.
, , . , , , .