Using continious funstions to define conductivity tensor

Yes, there are various ways of doing this.
See for instance Define two materials C tensor - #7 by dokken