Hi abdul,
It's possible, but you will have no helpers to do this.
Each category is a multi-dimensional array in php and depends on the way you retrieve them it will appear some data or other, but if you get the whole tree, data for a category should be something like
Array
(
[0] => Array
(
[pk_i_id] => 10
[fk_i_parent_id] =>
[i_expiration_days] => 0
[i_position] => 0
[b_enabled] => 1
[s_icon] =>
[fk_i_category_id] => 10
[fk_c_locale_code] => en_US
[s_name] => Cat Ingles
[s_description] =>
[s_slug] => cat-ingles
[i_num_items] => 4709
[locale_order] => 1
[categories] => Array
(
)
)
[1] => Array
(
[pk_i_id] => 6
[fk_i_parent_id] =>
[i_expiration_days] => 0
[i_position] => 1
[b_enabled] => 1
[s_icon] =>
[fk_i_category_id] => 6
[fk_c_locale_code] => en_US
[s_name] => Caballos
[s_description] =>
[s_slug] => caballos
[i_num_items] => 216
[locale_order] => 1
[categories] => Array
(
[0] => Array
(
[pk_i_id] => 122
[fk_i_parent_id] => 6
[i_expiration_days] => 0
[i_position] => 0
[b_enabled] => 1
[s_icon] =>
[fk_i_category_id] => 122
[fk_c_locale_code] => en_US
[s_name] => Welsh
[s_description] =>
[s_slug] => welsh
[i_num_items] => 0
[locale_order] => 1
[categories] => Array
(
)
)
[1] => Array
(
[pk_i_id] => 121
[fk_i_parent_id] => 6
[i_expiration_days] => 0
[i_position] => 1
[b_enabled] => 1
[s_icon] =>
[fk_i_category_id] => 121
[fk_c_locale_code] => en_US
[s_name] => Shetland
[s_description] =>
[s_slug] => shetland
[i_num_items] => 4
[locale_order] => 1
[categories] => Array
(
)
)
Inside the key "categories", to be able to handle this, you need a bit of PHP and arrays knowledge, since for a 5th-level category name you should do something like
echo $categories[X1]['categories'][X2]['categories'][X3]['categories'][X4]['categories'][X5]['s_name']
Where X1, X2, X3, X4 and X5 are numbers