Is there a way to turn a cone using attitude value with CZML. Also is there a way to shift the origin of the cone to the tip. The purpose behind this is to simulate the sensor of a satellite.

This thread seems to be trying to do a similar thing:

They seem to be attempting this on the JavaScript side is there a way to accomplish this on the CZML side. I am writing a CZML file in Matlab to be played in cesium.

Generally, anything you can create with the entity system in CesiumJS with JavaScript you should be able to embed in a CZML file. In this case, you might need to do that computation described there in Matlab instead of JavaScript, and just export the final coordinates as CZML.