Hello HypnoticShark,
Unfortunately, You can’t sample a texture from within a custom expression. This is a known limitation that we currently do not support. But, I have raised awareness about this issue and expect it to be fixed in a future release.
~Sam