Sim, é possível, é só declarar uma função com o tipo da estrutura. Ex:
Code:
typedef struct{
float x, y, z;
}Vetor;
//Função
Vetor InicializarVetor(float x, float y, float z);
Vetor InicializarVetor(float x, float y, float z)
{
Vetor str;
str.x = x;
str.y = y;
str.z = z;
return str;
}
//Exemplo de uso
Vetor position = InicializarVetor(1.5, -5.0, 0.0);
...
E assim por diante...
Espero ter ajudado!!! T+